package com.htt.base_library.constant

object BaseConstant {
    /**
     * 网络请求 code
     * 对应HTTP的状态码
     */
    const val HTTP_CODE_SUCCESS = 0
    const val HTTP_CODE_LOGOUT = 401
    const val HTTP_CODE_CLEAR_ACCOUNT = 5021

    //已经注册过?
    const val HTTP_CODE_REGISTERED = 418
    const val HTTP_CODE_ERROR = 500
    const val HTTP_CODE_UNAUTHORIZED = 401
    const val HTTP_CODE_FORBIDDEN = 403
    const val HTTP_CODE_NOT_FOUND = 404
    const val HTTP_CODE_REQUEST_TIMEOUT = 408
    const val HTTP_CODE_INTERNAL_SERVER_ERROR = 500
    const val HTTP_CODE_BAD_GATEWAY = 502

    const val HTTP_CODE_SERVICE_UNAVAILABLE = 503
    const val HTTP_CODE_GATEWAY_TIMEOUT = 504

    /**
     * 日志打印tag
     */
    const val LOG_TAG = "OL"

    /**服务器debug测试地址*/
//    const val BASE_TEST_URL = "http://192.168.2.188:8002/"//本地
//    const val BASE_TEST_URL = "http://172.247.24.34:8002/"//测试
    const val BASE_TEST_URL = "https://www.wanandroid.com/"//正式


    /**打包release地址*/
//    const val BASE_URL = "http://172.247.24.34:8002/"//测试
//    const val BASE_H5_URL = "http://172.247.24.34:8013/"//h5 测试

    const val BASE_URL = "https://www.wanandroid.com/"//正式
    const val BASE_H5_URL = "https://h5-olipay.bitdu.com/"//h5正式

    /**服务器基础地址*/
    const val WS_BASE_URL = ""

}